/**
 * 
 */
package com.yidu.erp.service.hetonghch;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.erp.dao.BeyondPactlistMapper;
import com.yidu.erp.model.BeyondPactlist;




/**
 * @author Administrator
 *
 */
@Service
public class PactlistServicImpl implements PactlistService{
	
	@Resource
	public BeyondPactlistMapper beyondPactlistMapper;

	@Override
	public int insertSelective(BeyondPactlist beyondPactCommodityprolistmx) {
		
		return beyondPactlistMapper.insertSelective(beyondPactCommodityprolistmx);
	}

	@Override
	public int updateByPrimaryKeySelective(BeyondPactlist beyondPactlist) {
		// TODO Auto-generated method stub
		return 0;
	}

	/**
     * 根据合同ID查询对应的合同商品信息
     * @param pactId
     * @return
     */
	@Override
	public List<Map> findAll(String pactId) {
		// TODO Auto-generated method stub
		return beyondPactlistMapper.findAll(pactId);
	}

	
}
